package com.haide.channel.pro.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 查询落地商户支持地区-响应
 * <p>
 * 1.
 * </p>
 *
 * @author : wukong
 * @version : 1.0.0
 * @date : 2018/7/18
 */

@Getter
@Setter
@ToString
public class QueryDownRespDto {

    /**
     * 成功标识
     */
    private boolean success;
    /**
     * 数据集
     */
    private DataBean data;

    @Getter
    @Setter
    @ToString
    public static class DataBean {
        private List<ProvinceListBean> provinceList;
        private List<CityListBean> cityList;

        @Getter
        @Setter
        @ToString
        public static class ProvinceListBean {
            /**
             * id
             */
            private String id;
            /**
             * 值
             */
            private String value;
            /**
             * 父id
             */
            private String parentId;
        }

        @Getter
        @Setter
        @ToString
        public static class CityListBean {
            /**
             * id
             */
            private String id;
            /**
             * 值
             */
            private String value;
            /**
             * 父id
             */
            private String parentId;
        }
    }
}
